package com.e_manager.soft.emanager.service;

import com.e_manager.soft.emanager.entity.UserEquipment;
import com.e_manager.soft.emanager.entity.parameter.UserEquipmentParameter;
import com.github.pagehelper.PageInfo;

/**
 * @author : lip[lip4051@163.com]
 * @create : 2018/3/21 0021 上午 11:01
 */
public interface UserEquipmentService {
    /**
     * 分页查询用户设备信息
     */
    PageInfo<UserEquipment> findUserEquipmentByPage(UserEquipmentParameter userEquipmentParameter);

    /**
     * 根据用户名和设备id查询用户设备数据
     *
     * @param userEquipment
     * @return
     */
    int getUserEquipmentByNameAndId(UserEquipment userEquipment);

    /**
     * 插入用户设备关联数据
     *
     * @param userEquipment
     */
    void insertUserEquipment(UserEquipment userEquipment);

    /**
     * 查询系统信息
     *
     * @param userEquipment
     */
    void updateUserEquipment(UserEquipment userEquipment);
}
